Name: FirstOrderTustin_Timed
Type: Function block
Language type:
ST\Eliwell\free Studio\Application\EWApplication.exe/#2/#5171)
Description:
Tustin discretization of a first order low pass filter: 1/1+sT
If input is lower or equal to -32765 output is set to -32768
if enable is false, output is set equal to input
Limitation:
T>sysTskTmdScanTime/2 (non verified in the code)
T is internally updated only when filter is disabled or input=-32768
Input:
| Name |
Type |
Description |
| Enable |
BOOL |
|
| Input |
INT |
|
| T |
UDINT |
[ms] |
Output:
| Name |
Type |
Description |
| Output |
INT |
|